home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
logname.z
/
logname
Wrap
Text File
|
1998-10-20
|
1KB
|
67 lines
LLLLOOOOGGGGNNNNAAAAMMMMEEEE((((1111)))) LLLLOOOOGGGGNNNNAAAAMMMMEEEE((((1111))))
NNNNAAAAMMMMEEEE
logname - get login name
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
llllooooggggnnnnaaaammmmeeee
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_l_o_g_n_a_m_e prints the name of the user who invoked the command. It gets
this name via _c_u_s_e_r_i_d(3S).
SSSSEEEEEEEE AAAALLLLSSSSOOOO
su(1), login(1), cuserid(3S), environ(5)
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
_l_o_g_n_a_m_e exits with a value of 1 if _c_u_s_e_r_i_d returns NNNNUUUULLLLLLLL, otherwise it
exits with a 0.
PPPPaaaaggggeeee 1111